<?php /* Smarty version Smarty-3.0.6, created on 2020-02-03 15:41:56
         compiled from "/www/wwwroot/gushi.phoenixfm.cn/tpl/m/index.html" */ ?>
<?php /*%%SmartyHeaderCode:15855101745e37cec4d113e5-98199341%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '51f39e6bec3d76b55a0a18e1c764bd0ea9059180' => 
    array (
      0 => '/www/wwwroot/gushi.phoenixfm.cn/tpl/m/index.html',
      1 => 1551765249,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '15855101745e37cec4d113e5-98199341',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<?php if (!is_callable('smarty_modifier_truncate')) include '/www/wwwroot/gushi.phoenixfm.cn/SpeedPHP/Drivers/Smarty/plugins/modifier.truncate.php';
?> <?php $_template = new Smarty_Internal_Template("m/header.html", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
  <!--主要内容区-->
  <div class="container">
    <div class="row">
      <div class="col-xs-12">
        <!--左侧内容-->
        <?php  $_smarty_tpl->tpl_vars['wx'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('gushir')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['wx']->key => $_smarty_tpl->tpl_vars['wx']->value){
?>
          <div class="panel">
            <div class="panel-body">
              <div class="title-heading"><strong><a href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['spUrl'][0][0]->__template_spUrl(array('c'=>'main','a'=>'gsDetails','id'=>$_smarty_tpl->tpl_vars['wx']->value['id']),$_smarty_tpl);?>
"><?php echo $_smarty_tpl->tpl_vars['wx']->value['title'];?>
</a> <a href="#"><i class="icon icon-volume-up" data-src="<?php echo $_smarty_tpl->tpl_vars['wx']->value['audio'];?>
"></i></a></strong><div style="float:right;"><button class="btn btn-primary" type="button" onclick="beisong(<?php echo $_smarty_tpl->tpl_vars['wx']->value['id'];?>
);">背诵</button></div></div>              
              <p><a href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['spUrl'][0][0]->__template_spUrl(array('c'=>'main','a'=>'gushi','f'=>'dynasty','v'=>$_smarty_tpl->tpl_vars['wx']->value['dynasty']),$_smarty_tpl);?>
"><span class="label label-warning"><?php echo $_smarty_tpl->tpl_vars['wx']->value['dynasty'];?>
</span></a> <a href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['spUrl'][0][0]->__template_spUrl(array('c'=>'main','a'=>'gushi','f'=>'author','v'=>$_smarty_tpl->tpl_vars['wx']->value['author']),$_smarty_tpl);?>
"><span class="label label-info"><?php echo $_smarty_tpl->tpl_vars['wx']->value['author'];?>
</span></a></p>
              <div class="content-content text-muted cont-<?php echo $_smarty_tpl->tpl_vars['wx']->value['id'];?>
"><?php echo smarty_modifier_truncate($_smarty_tpl->tpl_vars['wx']->value['content'],120,"...",true);?>
</div>
              <input type="hidden" id="con_<?php echo $_smarty_tpl->tpl_vars['wx']->value['id'];?>
" value="<?php echo $_smarty_tpl->tpl_vars['wx']->value['content'];?>
" />
            </div>
            <div class="panel-footer">
              <div class="btn-group">
                <button class="btn" onclick="xihuan('gs',<?php echo $_smarty_tpl->tpl_vars['wx']->value['id'];?>
,this)"><i class="icon icon-heart-empty"></i></button>
                <!--<button class="btn" data-toggle="collapse" data-target="#collapseComment"><i class="icon icon-comment-alt"></i></button>-->
                <button class="btn" onclick="wechat('gs',<?php echo $_smarty_tpl->tpl_vars['wx']->value['id'];?>
,this)"><i class="icon icon-wechat"></i></button>
              </div>
              <div style="float:right;"><?php echo $_smarty_tpl->tpl_vars['wx']->value['tags'];?>
</div>
              <br >
              <div class="collapse" id="collapseWechat_<?php echo $_smarty_tpl->tpl_vars['wx']->value['id'];?>
">
                <div class="bg-primary with-padding">
                  <p><img src="" alt='' id="imgqcode_<?php echo $_smarty_tpl->tpl_vars['wx']->value['id'];?>
" style="width:108px;height:108px;" /></p>
                </div>
              </div>                
            </div>
          </div>
        <?php }} ?>
        <?php  $_smarty_tpl->tpl_vars['wx'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('books')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['wx']->key => $_smarty_tpl->tpl_vars['wx']->value){
?>
          <div class="panel">
            <div class="panel-body">
              <div class="title-heading"><strong><a href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['spUrl'][0][0]->__template_spUrl(array('c'=>'main','a'=>'gjDetails','id'=>$_smarty_tpl->tpl_vars['wx']->value['id']),$_smarty_tpl);?>
">《<?php echo $_smarty_tpl->tpl_vars['wx']->value['title'];?>
》</a></strong></div>
              <p><span class="label label-warning"><?php echo $_smarty_tpl->tpl_vars['wx']->value['dynasty'];?>
</span> <span class="label label-info"><?php echo $_smarty_tpl->tpl_vars['wx']->value['author'];?>
</span></p>
              <div class="content-content text-muted">
                <div class="col-xs-8"><?php echo smarty_modifier_truncate($_smarty_tpl->tpl_vars['wx']->value['intro'],120,"...",true);?>
</div>
                <div class="col-xs-3"><div class="media pull-right"><a href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['spUrl'][0][0]->__template_spUrl(array('c'=>'main','a'=>'gjDetails','id'=>$_smarty_tpl->tpl_vars['wx']->value['id']),$_smarty_tpl);?>
"><img src="<?php echo $_smarty_tpl->tpl_vars['wx']->value['pic'];?>
" style="width:80px;" alt=""></a></div></div>                
              </div>
            </div>
            <div class="panel-footer">
              <div class="btn-group">
                <button class="btn" onclick="xihuan('gj',<?php echo $_smarty_tpl->tpl_vars['wx']->value['id'];?>
,this)"><i class="icon icon-heart-empty"></i></button>
                <!--<button class="btn"><i class="icon icon-comment-alt"></i></button>-->
                <button class="btn" onclick="wechat('gj',<?php echo $_smarty_tpl->tpl_vars['wx']->value['id'];?>
,this)"><i class="icon icon-wechat"></i></button>
              </div>
              <div style="float:right;"><?php echo $_smarty_tpl->tpl_vars['wx']->value['tags'];?>
</div>
              <br >
              <div class="collapse" id="collapseWechat_<?php echo $_smarty_tpl->tpl_vars['wx']->value['id'];?>
">
                <div class="bg-primary with-padding">
                  <p><img src="" alt='' id="imgqcode_<?php echo $_smarty_tpl->tpl_vars['wx']->value['id'];?>
" style="width:108px;height:108px;" /></p>
                </div>
              </div>
            </div>
          </div>
        <?php }} ?>
        <?php  $_smarty_tpl->tpl_vars['wx'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('chengyus')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['wx']->key => $_smarty_tpl->tpl_vars['wx']->value){
?>
          <div class="panel">
            <div class="panel-body">
              <div class="title-heading"><strong><?php echo $_smarty_tpl->tpl_vars['wx']->value['title'];?>
</strong></div>
              <p><span class="label label-warning">成语</span> <span class="label label-info"><?php echo $_smarty_tpl->tpl_vars['wx']->value['author'];?>
</span></p>
              <div class="content-content text-muted"><?php echo smarty_modifier_truncate(preg_replace('!<[^>]*?>!', ' ', $_smarty_tpl->tpl_vars['wx']->value['desc']),120,"...",true);?>
</div>
            </div>
            <div class="panel-footer">
              <div class="btn-group">
                <button class="btn" onclick="xihuan('cy',<?php echo $_smarty_tpl->tpl_vars['wx']->value['id'];?>
,this)"><i class="icon icon-heart-empty"></i></button>
                <!--<button class="btn"><i class="icon icon-comment-alt"></i></button>-->
                <button class="btn" onclick="wechat('cy',<?php echo $_smarty_tpl->tpl_vars['wx']->value['id'];?>
,this)"><i class="icon icon-wechat"></i></button>
              </div>
              <div style="float:right;"></div>
              <br >
              <div class="collapse" id="collapseWechat_<?php echo $_smarty_tpl->tpl_vars['wx']->value['id'];?>
">
                <div class="bg-primary with-padding">
                  <p><img src="" alt='' id="imgqcode_<?php echo $_smarty_tpl->tpl_vars['wx']->value['id'];?>
" style="width:108px;height:108px;" /></p>
                </div>
              </div>
            </div>
          </div>
        <?php }} ?>
      </div>
      <!--        
      <div class="col-xs-3">
      	
        <div class="panel">
          <div class="panel-body">
            <img style="float:left;" src="https://www.gushiwen.org/zhuanti/img/chuntian.jpg" width="100%" alt="春天的诗句">
          </div>
        </div>
        
        <div class="panel panel-primary">
          <div class="panel-heading">
           <h4>古诗</h4>
          </div>
          <div class="panel-body">
            ...
          </div>
        </div>
        
        <div class="panel panel-primary">
          <div class="panel-heading">
           <h4>作者</h4>
          </div>
          <div class="panel-body">
            <ul style="list-style-type: none;">
                <?php  $_smarty_tpl->tpl_vars['wx'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('authors')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['wx']->key => $_smarty_tpl->tpl_vars['wx']->value){
?>
            	<li style="width: 50px;display: inline;">
                    <a class="btn btn-link" href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['spUrl'][0][0]->__template_spUrl(array('c'=>'main','a'=>'zzDetails','id'=>$_smarty_tpl->tpl_vars['wx']->value['id']),$_smarty_tpl);?>
"><?php echo $_smarty_tpl->tpl_vars['wx']->value['title'];?>
</a>
                </li>
                <?php }} ?>
            </ul>
          </div>
        </div>
        
        <div class="panel panel-primary">
          <div class="panel-heading">
           <h4>古籍</h4>
          </div>
          <div class="panel-body">
            <ul style="list-style-type: none;">
                <?php  $_smarty_tpl->tpl_vars['wx'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('bs')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['wx']->key => $_smarty_tpl->tpl_vars['wx']->value){
?>
            	<li style="width: 50px;display: inline;">
                    <a class="btn btn-link" href="<?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['spUrl'][0][0]->__template_spUrl(array('c'=>'main','a'=>'gjDetails','id'=>$_smarty_tpl->tpl_vars['wx']->value['id']),$_smarty_tpl);?>
"><?php echo $_smarty_tpl->tpl_vars['wx']->value['title'];?>
</a>
                </li>
                <?php }} ?>
            </ul>
          </div>
        </div>
        
        <div class="panel panel-primary">
          <div class="panel-heading">
           <h4>成语</h4>
          </div>
          <div class="panel-body">
            <ul style="list-style-type: none;">
                <?php  $_smarty_tpl->tpl_vars['wx'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('cys')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['wx']->key => $_smarty_tpl->tpl_vars['wx']->value){
?>
            	<li style="width: 50px;display: inline;">
                    <a class="btn btn-link" href="#"><?php echo $_smarty_tpl->tpl_vars['wx']->value['title'];?>
</a>
                </li>
                <?php }} ?>
            </ul>
          </div>
        </div>
        
      </div>-->
    </div>
  </div>
  
          
          
  <?php $_template = new Smarty_Internal_Template("m/footer.html", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
